import request from '@/utils/request'

// 获取付款大类
// export function getTypeMain() {
//   return request({
//     url: '/subjects/fdSubjects/getTypeMain/oa_payment',
//     method: 'get'
//   })
// }

// 获取付款类型
// export function getFdSubjectsDetails(typeMainId) {
//   return request({
//     url: '/subjects/fdSubjects/getFdSubjectsDetails/' + typeMainId,
//     method: 'get'
//   })
// }

// 获取付款大类类型
export function getFdSubjectList(type) {
  return request({
    url: '/subjects/fdSubjects/getFdSubjectList/' + type,
    method: 'get'
  })
}
